﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Ecopsy.DataTier;
using AgencyEntityLib.Context ;

namespace AgencyEntityLib.BaseEntity
{
    public class Face : SqlAgencyEntity, ISqlSignature, IFace  
    {   
        private ContactList _ContactList = new ContactList();
        
        public ContactList ContactList { get { return _ContactList; } }

        private EntityList _DocumentList = new EntityList();
        public EntityList DocumentList { get { return _DocumentList; } }
                
        public virtual string GetFullAdress()
        {            
            return string.Empty; 
        }

        private  string _Describe = string.Empty;
        public string Describe { get { return _Describe; } set { _Describe = value; } }

        protected  override string TagName
        {
            get
            {
                return "Face";
            }
        }
        public override void Save()
        {
            base.Save();
        }

         
        #region ISqlSignature Members

        public virtual string SaveProcedure
        {
            get { return "FaceSave"; }
        }

        public virtual string DeleteProcedure
        {
            get { return "FaceDelete"; }
        }

        public virtual  string LoadProcedure
        {
            get { return "FaceLoad"; }
        }

        #endregion
    }

    public class FaceList : EntityList, ISqlSignature
    {  
        #region ISqlSignature Members

        public virtual string SaveProcedure
        {
            get { return ""; }
        }

        public virtual  string DeleteProcedure
        {
            get { return ""; }
        }

        public virtual  string LoadProcedure
        {
            get { return "FaceListLoad"; }
        }

        #endregion
    }
}
